#include <iostream>
#include <string>

using namespace std;

template <class T = int >
class Time
{
private:
    T hour;
    T min;
    T sec;
public:
    Time()
    {

    }
    Time(T hour ,T min ,T sec)
    {

    }
    ~Time()
    {

    }
public:
    void set_Time(T hour , T min , T sec);
};

template <class T>
void Time<T>::Time::set_Time(T hour , T min ,T sec)
{
    this->hour = hour;
    this->min = min;
    this->sec = sec;
    cout << hour <<" "<< min <<" "<< sec <<endl;
}

int main(int argc, char const *argv[])
{
    Time<int> T1(10 , 20 , 30);
    T1.set_Time(20 , 30 , 40);
    return 0;
}
